package csx.study.demo.service;

import csx.study.demo.dto.LoginFormDTO;
import csx.study.demo.dto.Result;
import csx.study.demo.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import jakarta.servlet.http.HttpSession;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author csx
 * @since 2025-03-03
 */
public interface IUserService extends IService<User> {

    Result sendCode(String phone, HttpSession session);

    Result login(LoginFormDTO loginForm, HttpSession session);
}
